package com.xiao.train.common.resp;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@ToString
public class CommonResp {
    private String token;

    private boolean success = true;

    private String message;

    private Object content;

    public CommonResp(Object content) {
        this.content = content;
    }

    public CommonResp(boolean success, String message, Object content) {
        this.success = success;
        this.message = message;
        this.content = content;
    }
}
